package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.BookSaleOrders;
import com.literaryfamily.literaryfamily.entity.BookSaleOrdersExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BookSaleOrdersMapper {
    long countByExample(BookSaleOrdersExample example);

    int deleteByExample(BookSaleOrdersExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BookSaleOrders row);

    int insertSelective(BookSaleOrders row);

    List<BookSaleOrders> selectByExample(BookSaleOrdersExample example);

    BookSaleOrders selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BookSaleOrders row, @Param("example") BookSaleOrdersExample example);

    int updateByExample(@Param("row") BookSaleOrders row, @Param("example") BookSaleOrdersExample example);

    int updateByPrimaryKeySelective(BookSaleOrders row);

    int updateByPrimaryKey(BookSaleOrders row);
}